home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950528-19950726
/
000385_news@columbia.edu_Tue Jul 18 12:44:53 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA13281
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 18 Jul 1995 08:45:09 -0400
Received: by apakabar.cc.columbia.edu id AA23303
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 18 Jul 1995 08:45:07 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Extra Line Feeds\Car. Returns
Date: 18 Jul 1995 12:44:53 GMT
Organization: Columbia University
Lines: 43
Message-Id: <3ugac5$mo1@apakabar.cc.columbia.edu>
References: <3uevnj$f88@armitage.cyberspace.com>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3uevnj$f88@armitage.cyberspace.com>,
<cbeard@cyberspace.com> wrote:
: I am having problems while transferring a file from a VAX VMS system
: running CKermit 5A (188) to my PC. I use ProComm for windows, but I
: have also tried Kermit 3.14, Telix Kermit and HyperTerm Kermit to no
: avail.
:
: I am transferring a JPEG file. The file transfer seems fine, but the
: photo has almost 3 times to many line feed/carriage returns in it. I
: have a copy of the files I have been testing with and it has 125 lines -
: to the 380 lines in the Kermit version. There does not seem to be a
: pattern to the extra returns.
:
: The VAX also has VMS Kermit - 32, which works the same. I have also
: played with packet lengths and tried text and binary. The Show command
: on the VAX says the packet length is 1024 and the file type is text -
: which seems strange to as it's a JPEG file.
:
On VMS, do a "dir/full" of the file. I'll bet it lists the record format
as Stream_LF, which is a text type. If you read the VMS appendix of the
C-Kermit manual, "Using C-Kermit", you'll see that the VMS version of
C-Kermit automatically sets its transfer mode to text or binary on a per
file basis when sending files, based on the record format of each file.
In the same Appendix, you'll also find the command that lets you override
this behavior:
SET FILE TYPE IMAGE
Please read the appendix for a fuller explanation.
As to why your JPEG file has a text-style record format, that's another
question. I suspect the software that created it was written in C, whose
i/o libraries create files with this type by default, and the authors did
not know how to give it a proper binary type, such as fixed. The same
thing happens with ZIP files on VMS.
If SET FILE TYPE FIXED does not fix the problem, then it is very likely
that the copy of the file that you have on VMS is itself corrupted by
having been uploaded in text mode (e.g. with FTP or Kermit) rather than
binary mode.
- Frank